package com.yangle.frame.bizlogic.mapper;


import com.yangle.frame.MyMapper;
import com.yangle.frame.bizlogic.entity.BlogBanner;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BlogBannerMapper extends MyMapper<BlogBanner> {
/**
* 批量删除
*/
@Delete("<script> delete from blog_banner where id in "
+ "<foreach item='item' index='index' collection='ids' open='(' separator=',' close=')'>"
+ "#{item}"
+ "</foreach> </script>")
public void deletes(@Param("ids") List<String> ids);
    }
